package com.dc.member.service;

import com.alibaba.fastjson.JSONObject;
import com.dc.base.BaseResponse;
import com.dc.member.input.dto.UserLoginInpDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: KEYD
 * @Date: 2019/12/28 15:28
 * @Desc: 用户登录接口服务类
 */
@Api(tags = "用户登陆服务接口")
public interface IMemberLoginService {
    /**
     * 用户登陆接口
     *
     * @param userLoginInpDTO
     * @return
     */
    @PostMapping("/login")
    @ApiOperation(value = "会员用户登陆信息接口")
    BaseResponse<JSONObject> login(@RequestBody UserLoginInpDTO userLoginInpDTO);

}
